<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  		<title><fmt:message key="appResourceList.heading"/></title>
  </head>
  <body>	
	  			
			<!-- <a href="#" onclick="multiDelete('resourceId');" class="delete">删除</a> -->
    <ul>
          <li class="titleonly">
          <img src="${ctxPath}/css/style/base/image/dot.gif" width="15" height="16" class="dot" />&gt;&gt;权限管理
		</li>
    </ul>
        <ul>
        <form action="appResources.do" method="Post">
        <table width="400" border="0" cellspacing="0" cellpadding="0" class="dd">
		  <tr>
		    <td ><a href="editAppResource.do"><img src="${ctxPath}/css/style/base/image/plus.gif" />&nbsp;&nbsp;添加权限</a></td>
		  </tr>
		
		  <tr>
		    <td>资源名称：
		      <input  name="Q_fullname_S_LK" value="${param['Q_fullname_S_LK']}" type="text" class="inputbox240" /></td>
		    </tr>
		  <tr>
		    <td style="text-align:center"><input name="Submit" type="submit" class="inputsubmit" value="查询" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    
		      <input name="Submit2" type="reset" class="inputsubmit" value="重置" /></td>
		  </tr>
		</table>
		</form>
 </ul>
    
	<ul>
	  <li class="titleonly"><img src="${ctxPath}/css/style/base/image/dot.gif" width="15" height="16" class="dot" />&gt;&gt;权限列表</li></ul>
	<ul>
	  <li>
	  	<c:set var="checkAll">
	  			<input type="checkbox" name="ckAll" onclick="checkAll(this,'resourceId');"/>
	  		</c:set>
		    	<display:table name="appResources" sort="external" pagesize="${appResources.objectsPerPage}"
			    	cellpadding="0" cellspacing="0" style="width:100%" export="false" 
			    	id="appResourceItem" partialList="true" size="${appResources.fullListSize}" requestURI="appResources.do">
			    	<display:column title="${checkAll}" media="html" style="width:8px;align:center">
				  		<input type="checkbox" name="resourceId" value="${appResourceItem.resourceId}">
				  	</display:column>
				<display:column property="resourceName" titleKey="appResource.resourceName" sortName="resourceName" sortable="true" class="tableinfo center"/>  
				<display:column property="resourceTitle" titleKey="appResource.resourceTitle" sortName="resourceTitle" sortable="true" class="tableinfo center"/>  
				<display:column property="resourceUrl" titleKey="appResource.resourceUrl" sortName="resourceUrl" sortable="true" class="tableinfo center"/>  
				<display:column property="resourceDesc" titleKey="appResource.resourceDesc" sortName="resourceDesc" sortable="true" class="tableinfo center"/>  
					<display:column media="html" title="管理" style="width:170px"  class="tableinfo center">
						<a href="editAppResource.do?resourceId=${appResourceItem.resourceId}"><img src="${ctxPath}/css/style/base/image/amend.gif" />&nbsp;&nbsp;修改</a>
						<a href="#" onclick="viewDetail('resourceId',${appResourceItem.resourceId})" ><img src="${ctxPath}/css/style/base/image/open.gif" />&nbsp;&nbsp;查看</a>
						<a href="#" onclick="deleteObj('resourceId',${appResourceItem.resourceId})"><img src="${ctxPath}/css/style/base/image/big_del.gif" />&nbsp;&nbsp;删除</a>
					</display:column>
				<%-- <display:setProperty name="paging.banner.placement" value="both"/> --%>
				</display:table>
	  </li>
	</ul>

	</body>
</html>